package com.xue.service.impl;

import com.xue.bean.UserBean;
import com.xue.mapper.LoginMapper;
import com.xue.service.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @program: springboot-outbreak
 * @description: 登陆
 * @create: 2020-05-29 17:13
 **/

@Service
public class LoginServiceImpl implements LoginService {

    @Autowired
    private LoginMapper loginMapper;

    @Override
    public UserBean login(String username, String password) {
        return loginMapper.login(username, password);
    }
}
